package com.xxx;

/**
 * rpc服务消费方
 */
public class RpcConsumer {

	public static void main(String[] args) {
		TestService testService = new RpcImpl().invoke(TestService.class, "127.0.0.1", 8081);
		String result = testService.test("world");
		System.out.println(result);
	}

}
